package com.hawthorn.redis.repository;

import com.hawthorn.entity.dto.SysCompanyDTO;
import com.hawthorn.entity.po.SysCompanyPO;
import com.hawthorn.platform.repository.DBMapper;
import com.hawthorn.redis.repository.provider.CompanyCacheSqlProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>todo SysCompany Mapper类</p>
 * @author: andy.ten@tom.com | xukaixing@hotmail.com
 * @created: 2022/06/30 12:17 PM
 * @version v1.0.1
 * @copyright: Copyright (c)  andyten
 */
@Repository
public interface CompanyCacheMapper extends DBMapper<SysCompanyPO>
{
  @SelectProvider(CompanyCacheSqlProvider.class)
  List<SysCompanyDTO> selectCompany();
}
